/**
 * @author meiqin liu（叶子）
 * @version 1.0.0
 * @date 2025/4/22 8:19
 */
//进程控制块
public class PCB {
    public String pid;
    public int requireTime;
    public int priority;
    public String status;
    public String type;//独立或同步
    public int memorySize;
    public int startAddress = -1;// -1 means not allocated

    public PCB(String pid, int requireTime, int priority, String type, int memorySize) {
        this.pid = pid;
        this.requireTime = requireTime;
        this.priority = priority;
        this.type = type;
        this.memorySize = memorySize;
        this.status = "就绪";
    }
}
